package Logistic

import breeze.numerics.abs

object test2 {
  def main(args: Array[String]): Unit = {
   val map = Map("血小板比积"-> -0.025141349415755826,
                  "年龄" -> 9.72232692549315,
                  "红细胞平均血红蛋白量" -> 0.752870963688892,
                  "白蛋白" -> 1.9437002135946742,
                  "红细胞计数" -> 0.3577371529086566,
                  "血糖" -> 5.46787536122628,
                  "中性粒细胞"->3.4821711270260067,
                  "高密度脂蛋白胆固醇" -> -0.056106294760648545,
                  "乙肝e抗原" -> -8.970976253298154E-4,
                  "嗜碱细胞" -> -0.01316748335218032,
                  "红细胞压积" -> 0.02906345018218376)

    val temp: Map[String, Double] = map.filter(x => abs(x._2) > 3)
    println(temp)
  }
}
